package com.pt5.pthouduan.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljx
 * @since 2025-04-14
 */
@TableName("user_grade")
public class UserGrade implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("grade_id")
    private Integer gradeId;

    private String gradeName;

    private Double minRatio;

    private Integer gradetype;

    private Integer privilege;

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public Double getMinRatio() {
        return minRatio;
    }

    public void setMinRatio(Double minRatio) {
        this.minRatio = minRatio;
    }

    public Integer getGradetype() {
        return gradetype;
    }

    public void setGradetype(Integer gradetype) {
        this.gradetype = gradetype;
    }

    public Integer getPrivilege() {
        return privilege;
    }

    public void setPrivilege(Integer privilege) {
        this.privilege = privilege;
    }

    @Override
    public String toString() {
        return "UserGrade{" +
        "gradeId = " + gradeId +
        ", gradeName = " + gradeName +
        ", minRatio = " + minRatio +
        ", gradetype = " + gradetype +
        ", privilege = " + privilege +
        "}";
    }
}
